package com.market.plus.core.dao.jdbc;

import org.springframework.jdbc.core.support.JdbcDaoSupport;

import com.market.plus.core.dao.GenericDb;

public class JdbcGenericDao extends JdbcDaoSupport implements GenericDb {

    private String databaseType;

    public void setDatabaseType(String databaseType) {
        this.databaseType = databaseType;
    }

    public String getDatabaseType() {
        return databaseType;
    }

    public void executeSQL(String sql) {
        this.getJdbcTemplate().execute(sql);
    }
}
